package com.anthonybennis.blender.client.pages.videos;

import com.anthonybennis.blender.client.IGridDataGenerator;
import com.anthonybennis.blender.client.IGridWidgetFactory;
import com.anthonybennis.blender.client.ResponsiveGridPanel;
import com.google.gwt.user.client.ui.Widget;

/**
 * 
 * @author abennis
 */
public class VideoPage 
{
	/**
	 * 
	 * @return
	 */
	public Widget create()
	{
		final IGridDataGenerator dataGenerator = new VideoTileDataGenerator();
		final IGridWidgetFactory videoTileFactory = new VideoTileFactory();
		final ResponsiveGridPanel videoPanel = new ResponsiveGridPanel(dataGenerator, videoTileFactory);
		
		return videoPanel.createWidget();
	}
}
